<!--<eq name="act" value="add">
    <tr>
        <td>省级区域</td>
        <td>
            <input type="checkbox" value="all" title="全部" class="province_all province all" lay-filter="province" disabled >
            <volist name="provinces" id="item">
                <input type="checkbox" name="region[2][]" title="{$item}" value="{$key}"
                       class="lay-input province_child province all" lay-filter="province" disabled>
            </volist>
        </td>
    </tr>
    <tr id="city_">
        <td>市级区域</td>
        <td>
            <ul id="city"></ul>
        </td>
    </tr>
    <tr id="county_" hidden>
        <td>区县级区域</td>
        <td>
            <ul id="county"></ul>
        </td>
    </tr>
    <else/>-->
        <tr>
        <td>省级区域</td>
        <td>
            <input type="checkbox" value="all" title="全部" class="province_all province all" lay-filter="province" {$pro_all?'checked':''} {$info['admin_type']>1?'':'disabled'} >
            <volist name="provinces" id="province">
                <input type="checkbox" name="region[2][]" title="{$province}" value="{$key}"
                       class="lay-input province_child province all" lay-filter="province" {$edit_provinces[$key]?'checked':''} {$info['admin_type']>1?'':'disabled'}>
            </volist>
        </td>
        </tr>
        <tr id="city_" {$info['admin_type']>2 || 0 ?:'hidden'}>
            <td>市级区域</td>
            <td>
                <ul id="city">
                    <volist name="edit_provinces" id="edit_pro">
                        <php>$pid = $key; $class = 'city_'.$pid;</php>
                        <li class="{$class} region_li">
                            <input type="checkbox" value="all" data-pid="{$pid}" title="{$edit_pro}"
                                   class="lay-input city_all_{$pid}" lay-filter="city" {$city_all[$pid]?'checked':''}>
                            <volist  name="$edit_citys[$pid]" id="city">
                                <input type="checkbox" name="region[3][{$pid}][]" data-pid="{$pid}" title="{$city}" value="{$key}"
                                       class="lay-input city_child_{$pid}" lay-filter="city"
                                <if condition="in_array($key,$info['region'][3][$pid])">checked</if> >
                            </volist>
                        </li>
                    </volist>
                </ul>
            </td>
        </tr>
        <tr id="county_" {$info['admin_type']==4 || 0 ?:'hidden'}>
            <td>区县级区域</td>
            <td>
                <ul id="county">
                    <volist name="edit_city_ps" id="edit_cps">
                        <php>$gid = $key;</php>
                        <volist name="edit_cps" id="edit_cp">
                            <php>$pid = $key; $class = 'county_'.$pid; $class_g = 'city_'.$gid</php>
                            <li class="{$class} {$class_g} region_li">
                                <input type="checkbox" value="all" data-pid="{$pid}" title="{$edit_cp}"
                                       class="lay-input county_all_{$pid}" lay-filter="county" {$county_all[$pid]?'checked':''}>
                                <volist  name="$edit_countys[$gid][$pid]" id="county">
                                    <input type="checkbox" name="region[4][{$pid}][]" data-pid="{$pid}" title="{$county}" value="{$key}"
                                           class="lay-input county_child_{$pid}" lay-filter="county"
                                    <if condition="in_array($key,$info['region'][4][$pid])">checked</if> >
                                </volist>
                            </li>
                        </volist>
                    </volist>
                </ul>
            </td>
        </tr>
<!--
</eq>-->
